﻿@model dynamic

@{
    ViewBag.Title = "View Statistics";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="~/js/home.js"></script>
    <script src="~/js/tabletocsv.js"></script>
<div class="container-fluid">
    <div class="box">
        <div class="row-fluid" style="margin-top: 10px">
            <div class="span8">
                <a class="btn btn-primary" href="/home/viewstatistics">Update Statistics!</a>
            </div>
        </div>
        <div class="row-fluid">
            <ul class="tabs tabs-inline tabs-top orderdetail-task-tabs task-tabs">
                <li class="active">
                    <a href="#sales" data-toggle="tab">Sales</a>
                </li>
                <li>
                    <a href="#products" data-toggle="tab">Products</a>
                </li>
                <li>
                    <a href="#tasks" data-toggle="tab">Tasks</a>
                </li>
                <li>
                    <a href="#survey" data-toggle="tab">Customer Survey</a>
                </li>
            </ul>
            <div class="tab-content padding tab-content-inline tab-content-bottom orderdetail-task-tabs-content">
                <div class="tab-pane active" id="sales">
                    @Html.Action("SalesStatistics")
                </div>
                <div class="tab-pane" id="products">
                    @Html.Action("ProductsStatistics")
                </div>
                <div class="tab-pane" id="tasks">
                    @Html.Action("Tasks")
                </div>
                <div class="tab-pane" id="survey">
                    @Html.Action("SurveyStatistics","Survey")
                </div>
            </div>
        </div>
    </div>
</div>

